'Declaration
Public Overloads Shared Function Compile
(Of T,TResult)( _
ByVal query As Expression(Of Func(Of T,IIndexedSource(Of TResult))) _
) As Func(Of T,IIndexedSource(Of TResult))
public static Func<T,IIndexedSource<TResult>> Compile<T,TResult>( Expression<Func<T,IIndexedSource<TResult>>> query )
Parameters
- query
- The query expression to be compiled.
Type Parameters
- T
- The type of the parameter that has to be passed in when executing the delegate returned by the Compile method.
- TResult
- The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.
Return Value
The delegate to be called to execute the compiled query with particular parameter values.